Skip to content

fix: dropdown menu fix for accessability announcement #1619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

davidnixon
Copy link
Contributor

@davidnixon davidnixon commented Aug 9, 2024

What did you do?

Correct accessibility issue with dropdown menu.
Invalid text and warning text were not being announced in screen reader.

Why did you do it?

Found during development by Alessio Mantegna. Fix also provided by Alessio.

How have you tested it?

With screen reader in Safari.
Easiest place to test is with the slots story
http://localhost:6006/?path=/story/component-cvdropdown--slots
There you can toggle the warning and invalid slots and confirm they are announced.

Were docs updated if needed?

  • N/A

@davidnixon
Copy link
Contributor Author

Approved by Alessio, accessibility focal on my team.

@davidnixon davidnixon merged commit 31cd6ee into carbon-design-system:main Aug 22, 2024
6 checks passed
@davidnixon davidnixon deleted the chore-a11n-drop-down branch August 22, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant